﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EpiMapit
{
    public class CaseSetGroup : List<CaseSet>
    {
		public float Unit;
		public float MaxDistance;

		public CaseSetGroup()
		{
			Unit = 1;
		}

        public CaseSetGroup(IEnumerable<CaseSet> caseSets)
            : base(caseSets)
        {
            Unit = 1;
        }

        public CaseSetGroup Clone()
        {
            var clone = new CaseSetGroup();
            clone.Unit = this.Unit;
            clone.MaxDistance = this.MaxDistance;
            foreach (var g in this)
            {
                clone.Add(g.Clone());
            }
            return clone;
        }

    }
}
